<?php echo form_open(); ?>
<div class="holder">
    <div class="sub-title red">
        <?php 
			echo $this->session->userdata('ms')?$this->session->userdata('ms'):''; $this->session->unset_userdata('ms');
		?>
    </div>

    <div class="action">
        <?php echo form_submit('btnSave', 'Save', 'class="add"'); ?>
        <?php echo anchor('user/user', 'Cancel', 'class="button cancel"');?>
    </div>
    <div style="clear:both"></div>
</div>
<div class="holder">
    <table>
      <tr>
        <td width="100">Full Name:</td>
        <td width="150"><?php echo form_input('fullName', set_value('fullName') ? set_value('fullName') : $data[field('fullName')]); ?><span class="red"> *</span></td>
        <td><?php echo form_error('fullName'); ?></td>
      </tr>
      <tr>
        <td>Email:</td>
        <td><?php echo form_input('email', set_value('email') ? set_value('email') : $data[field('email')]); ?><span class="red"> *</span></td>
        <td><?php echo form_error('email'); ?></td>
      </tr>
      <tr>
        <td>Password:</td>
        <td><?php echo form_password('password', set_value('password')); ?></td>
        <td><?php echo form_error('password'); ?></td>
      </tr>
      <tr>
        <td>Confirm Password:</td>
        <td><?php echo form_password('conPassword', set_value('conPassword')); ?></td>
        <td><?php echo form_error('conPassword'); ?></td>
      </tr>
    </table>
    <br>
</div>
<?php echo form_close(); ?>